package org.ligson.fwc.api.enums;

public class DataState extends BaseEnum {
    public static final DataState Valid = new DataState(1, "valid", "有效");
    public static final DataState Invalid = new DataState(2, "invalid", "无效");


    public DataState() {

    }

    private DataState(int code, String key, String msg) {
        super(code, key, msg);
    }

    public static DataState getByCode(int code) {
        return BaseEnum.getByCode(code, DataState.class);
    }
}
